Finite element method in structural mechanics